package org.ctstudio.oa.duty.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.ctstudio.oa.duty.bean.conf.Setting;

@Mapper
public interface SettingMapper {
  List<Setting> getAll();

  Setting get(String name);

  List<Setting> getByPrefix(String prefix);

  int add(Setting setting);

  int edit(Setting setting);

  int del(String name);

  int delByPrefix(String prefix);
}
